from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Catch all requests, and route them to the dispatch view for processing
    url(r'^(?P<module_arg>[a-z_]+)/(?P<arguments>.*)$',
        'pillarbox.pillarboxapp.views.dispatch', name='dispatch'),

    # Examples:
    # url(r'^pillarbox/', include('pillarbox.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
